package com.github.yoojia.mqtt.boot;

import com.github.yoojia.mqtt.MQTTSocket;
import com.parkingwang.lang.data.Config;

/**
 * @author Yoojia Chen (yoojiachen@gmail.com)
 * @since 1.0
 */
public interface Actuator {

    void onInit(MQTTSocket socket, Config config);

    abstract class Simple implements Actuator {

        @Override
        public void onInit(MQTTSocket socket, Config config) {
            // NOP
        }
    }
}
